// token持久化

const setToken = (data) => {
     localStorage.setItem('token', data)
}

const getToken = () => {
    return localStorage.getItem('token')
}

const removeToken = () => {
    localStorage.removeItem('token')
}
export {
    setToken,
    getToken,
    removeToken
}